package cn.yunhe.javabean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Role {
    private int rid;
    private String name;
    private String desc;
    List <Permission> plist;

    public Role(int rid, String name, String desc) {
        this.rid = rid;
        this.name = name;
        this.desc = desc;
    }
}
